package com.wtu.alicloud.client.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.wtu.alicloud.api.service.DubboService;
import org.springframework.stereotype.Service;

/**
 * Created by chenmx on 2019-05-22.
 */
@Service
public class DubboApiService {

    @Reference(version = "1.0" ,group = "dubbo-group")
    private DubboService dubboService;

    public String getName(String name) {
        String reuslt = dubboService.getName(name);
        return reuslt;
    }
}
